package com.goatrock.media.thisway.domain.service.impl;

import com.goatrock.media.thisway.common.exceptions.ServiceException;
import com.goatrock.media.thisway.domain.adapter.InitializeAppServiceAdapter;
import com.goatrock.media.thisway.domain.service.InitializeAppService;
import org.apache.log4j.Logger;

public class InitializeAppServiceImpl implements InitializeAppService{
    InitializeAppServiceAdapter initAppServiceAdapter;
    private static Logger logger = Logger.getLogger(InitializeAppServiceImpl.class);

    public void InitializeAppComponents() throws ServiceException {
        logger.debug("Inside the InitAppService");
        initAppServiceAdapter.InitializeAppComponentsAndDependecies();
    }

    public InitializeAppServiceAdapter getInitAppServiceAdapter() {
        return initAppServiceAdapter;
    }

    public void setInitAppServiceAdapter(InitializeAppServiceAdapter initAppServiceAdapter) {
        this.initAppServiceAdapter = initAppServiceAdapter;
    }

}
